<!DOCTYPE html>
<html>
<head>
    <include file="./public/sty.html"/>
</head>
<body>
<div id="app" class="BetRecord">
    <include file="./public/header.html"/>

    <!--核心-->

    <div class="container notSign fix pt15" s="[object Object]">
        <div class="userMain mgb10">
            <ul class="queue">
                <li class="now"><span>选择验证方式</span><i></i></li>
                <li><span>身份验证</span><i></i></li>
                <li><span>设置密码</span><i></i></li>
                <li style="width: 50px">><span>完成</span><i></i></li>
            </ul>
            <div class="mg30">
                <ul class="safeList">
                    <li class="UserHasSafePwd <?php if(trim($date['insurepass'])){echo '';}else{echo 'noSet';} ;?>">
                        <span class="iconfont"></span>
                        <span class="text"><strong>通过安全密码</strong>
                            <p>安全密码用于提现、绑定银行卡等操作，可保障资金安全。</p>
                        </span>
                        <span class="btn">
                            <?php if(trim($date['insurepass']) != ""){ ?>
                            <a href="{:U('Index/verifySafePwd',array('id'=>$date['userid']))}">立即找回</a>
                            <?php }else{ ?>
                            <a href="">未设置安全密码</a>
                            <?php } ?>
                        </span>
                    </li>
                    <li class="UserMobile <?php if(trim($date['mobile'])){echo '';}else{echo 'noSet';} ;?>">
                        <span class="iconfont"></span>
                        <span class="text"><strong>通过密保手机</strong>
                            <p>密保手机可以增加账户安全性，快速找回帐号密码。</p>
                        </span>
                        <span class="btn">
                            <?php if(trim($date['mobile']) != ""){ ?>
                              <a href="{:U('Index/setMobile',array('id'=>$date['userid']))}">立即找回</a>
                            <?php }else{ ?>
                              <a href="">未绑定手机号</a>
                            <?php } ?>
                        </span>
                    </li>
                    <li class="UserSafeQuestions <?php if(!empty($dat)){echo '';}else{echo 'noSet';} ;?>">
                        <span class="iconfont"></span>
                        <span class="text"><strong>通过密保问题</strong>
                            <p>密保问题可以增加账户安全性，快速找回帐号密码。</p>
                        </span>
                        <span class="btn">
                             <?php if(!empty($dat)){ ?>
                            <a href="{:U('Index/setQuestion_upd',array('id'=>$date['userid']))}" class="">立即找回</a>
                            <?php }else{ ?>
                            <a href="">未设置密保问题</a>
                            <?php } ?>

                        </span>
                    </li>
                    <li class="UserMail <?php if(trim($date['email'])){echo '';}else{echo 'noSet';} ;?>">
                        <span class="iconfont"></span>
                        <span class="text"><strong>通过密保邮箱</strong>
                            <p>密保邮箱可以增加账户安全性，快速找回帐号密码。</p>
                        </span>
                        <span class="btn">
                           <?php if(trim($date['email']) != ""){ ?>
                            <a href="{:U('Index/setMail',array('id'=>$date['userid']))}">立即找回</a>
                            <?php }else{ ?>
                            <a href="">未绑定邮箱</a>
                            <?php } ?>

                        </span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--核心 end-->


    <include file="./public/footer.html"/>
</div>


<script src="/style/js/jquery.min.js"></script>
<script src="/style/js/fx.js"></script>
<script>
    $(function () {
        personalInfo();
    })
</script>
</body>
</html>